package entity;

/**
 * Dept entity. @author MyEclipse Persistence Tools
 */

public class Dept implements java.io.Serializable {

	// Fields

	private Integer id;
	private String deptname;
	private Integer deptmanagerid;
	private String phone;
	private String fax;
	private String telephone;
	private Integer parentid;
	private Integer indexs;

	// Constructors

	/** default constructor */
	public Dept() {
	}

	/** minimal constructor */
	public Dept(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Dept(Integer id, String deptname, Integer deptmanagerid,
			String phone, String fax, String telephone, Integer parentid,
			Integer indexs) {
		this.id = id;
		this.deptname = deptname;
		this.deptmanagerid = deptmanagerid;
		this.phone = phone;
		this.fax = fax;
		this.telephone = telephone;
		this.parentid = parentid;
		this.indexs = indexs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDeptname() {
		return this.deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public Integer getDeptmanagerid() {
		return this.deptmanagerid;
	}

	public void setDeptmanagerid(Integer deptmanagerid) {
		this.deptmanagerid = deptmanagerid;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public Integer getIndexs() {
		return this.indexs;
	}

	public void setIndexs(Integer indexs) {
		this.indexs = indexs;
	}

	public Dept(String deptname, Integer deptmanagerid, String phone,
			String fax, String telephone, Integer parentid, Integer indexs) {
		super();
		this.deptname = deptname;
		this.deptmanagerid = deptmanagerid;
		this.phone = phone;
		this.fax = fax;
		this.telephone = telephone;
		this.parentid = parentid;
		this.indexs = indexs;
	}

}